<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
<script>

    let card=89536
    delByCard(card)
function delByCard(card) {
    $.ajax({
        type:'GET',
        contentType:'application/json;charset=UTF-8',
        url : "http://localhost:9998/delById",
        data : {
            card:card
        },
        success : function(result) {
            console.log(result);
        },
        //请求失败，包含具体的错误信息
        error : function(e){
            console.log(e.status);
            console.log(e.responseText);
        }
    })
}
</script>
</body>
</html>